#ifndef JSON_MSG_H
#define JSON_MSG_H

#include <QJsonObject>
#include <QJsonDocument>
#include <QJsonArray>
#include <QString>

extern QJsonObject heartbeat_msg;
extern QJsonObject auto_start_msg;
extern QJsonObject auto_stop_msg;
extern QJsonObject auto_pause_msg;
extern QJsonObject auto_manual_msg;
extern QJsonObject manual_auto_msg;

extern QJsonObject manual_gripper_open_l_msg;
extern QJsonObject manual_gripper_close_l_msg;

extern QJsonObject manual_gripper_open_r_msg;
extern QJsonObject manual_gripper_close_r_msg;

extern QJsonObject manual_move_f_msg;
extern QJsonObject manual_move_b_msg;
extern QJsonObject manual_move_l_msg;
extern QJsonObject manual_move_r_msg;
extern QJsonObject manual_robot_en_msg;
extern QJsonObject manual_robot_dis_msg;

extern QJsonObject manual_arm_xi_l_msg;
extern QJsonObject manual_arm_xd_l_msg;

extern QJsonObject manual_arm_yi_l_msg;
extern QJsonObject manual_arm_yd_l_msg;

extern QJsonObject manual_arm_zi_l_msg;
extern QJsonObject manual_arm_zd_l_msg;

extern QJsonObject manual_arm_rxi_l_msg;
extern QJsonObject manual_arm_rxd_l_msg;

extern QJsonObject manual_arm_ryi_l_msg;
extern QJsonObject manual_arm_ryd_l_msg;

extern QJsonObject manual_arm_rzi_l_msg;
extern QJsonObject manual_arm_rzd_l_msg;

extern QJsonObject manual_arm_xi_r_msg;
extern QJsonObject manual_arm_xd_r_msg;

extern QJsonObject manual_arm_yi_r_msg;
extern QJsonObject manual_arm_yd_r_msg;

extern QJsonObject manual_arm_zi_r_msg;
extern QJsonObject manual_arm_zd_r_msg;

extern QJsonObject manual_arm_rxi_r_msg;
extern QJsonObject manual_arm_rxd_r_msg;

extern QJsonObject manual_arm_ryi_r_msg;
extern QJsonObject manual_arm_ryd_r_msg;

extern QJsonObject manual_arm_rzi_r_msg;
extern QJsonObject manual_arm_rzd_r_msg;

void initJsonMsg();
#endif